package pub.guoxin.oops.model;

import com.fasterxml.jackson.annotation.JsonInclude;
import com.querydsl.core.annotations.QueryEntity;
import lombok.Data;
import lombok.EqualsAndHashCode;
import org.mongodb.morphia.annotations.Entity;

import java.io.Serializable;

/**
 * Created by guoxin on 17-11-5.
 */
@Data
@Entity
@QueryEntity
@EqualsAndHashCode(callSuper = true)
@JsonInclude(JsonInclude.Include.NON_NULL)
public class Group extends BaseEntity<String> implements Serializable {

    private static final long serialVersionUID = 4169645807692436268L;

    private String name;

    /**
     * 分组负责人
     */
    private String userId;

    private String companyId;

}
